<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>商品添加</title>
<link href="__CSS__/base.css" rel="stylesheet" type="text/css">
<link href="__CSS__/icons.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="__CSS__/common.css" type="text/css" media="screen" />
<script type="text/javascript" charset="utf-8" src="__JS__/ueditor/ueditor.config.js"></script> 
<script type="text/javascript" charset="utf-8" src="__JS__/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="__JS__/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $("#b01").click(function(){
  htmlobj=$.ajax({url:"/jquery/test1.txt",async:false});
  $("#myDiv").html(htmlobj.responseText);
  });
});
</script>

</head>
<body>
<div class="common_title">
<span>商品添加</span>
</div>
<div class="divContent">  
  <form id="af" method="post" action="__SELF__" enctype="multipart/form-data" name="addop" enctype="multipart/form-data">
    <table width="99%" border="0" cellpadding="0" cellspacing="0" class="tableClass">
      <tbody>
        <tr>
          <th colspan="4">商品添加</th>
        </tr>
        <tr>
          <td class="title_item" width="100">商品名词：</td>
          <td  align="left">
            <input type="text" name="goods_name" maxlength="50" size="50" value=""  class="webinput" ></td>
        </tr>
       <tr>
          <td class="title_item" width="100">所属分类：</td>
<td>
 <select name="typeid">
 	<volist name="show" id="v">
    	<option value="<{$v.id}>"><{$v.artype_name}></option>
    </volist>
 </select>
</td>
</tr>
 
<tr>
<td class="title_item" width="100" >商品属性：</td>
<td>
<volist name="list" id="x">
    <div class="class"><input type="checkbox"   name="status[]"  value="<{$x.type}>" /><{$x.typename}></div>
</volist>
</td>
</tr>



<tr>
<td class="title_item">商品简介：</td>
<td><textarea name="info"  class="webinput" style="width:250px;height:50px;"><{$list.info}></textarea></td>
</tr>

<tr>
<td class="title_item">缩略图：</td>
<td>
<input type="file" name="goods_img" class="webinput" /></td>
</tr>


<tr>
<td class="title_item">商品详情：</td>
<td width="850" height="600" style="padding:20px;">
<textarea name="content" id="myEditor">这里写你的初始化内容</textarea>  
<script type="text/javascript"> 
    var editor = new UE.ui.Editor({initialFrameHeight:350,initialFrameWidth:850 });  
    editor.render("myEditor"); </script>
</td>
</tr>


<tr class="but_tr">
<td colspan="4" align="center">
<a class="butbase" id="btn_submit"><span class="icon-save" onclick="document.getElementById('af').submit();">提交商品</span></a>　　
<a class="butbase" id="btn_bak" href="javascript:history.back();"><span class="icon-return">返回</span></a>
			</td>
        </tr>
      
      </tbody>
    </table>
  </form>
</div>


</body>
</html>